﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PlayerTest.CustomControls
{
    class VideoPanel : Panel
    {
        const int WM_GRAPHNOTIFY = 0x00008001;
        public delegate void delegate_func();
        public delegate_func m_func = null;
        protected override void WndProc(ref Message m)
        {
            if (m.Msg == WM_GRAPHNOTIFY)
            {
                if (m_func != null) m_func();
                return;
            }

            base.WndProc(ref m);
        }
    }
}
